package net.melon.page.pojo;

import net.esj.basic.pojo.AbstractPojo;
import net.melon.page.pojo.dto.PageDto;

public class ModuleLink extends AbstractPojo<Integer>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -9055506371304962712L;

	public static String MODULE_LINK_ICON = "module_icon"; 
	
	private Integer id;
	
	private String value;//值，当是文字时写文字，当是图片时上传图片(图片地址)，当是产品时选择产品(产品ID)
	
	private String url;//连接
	
	private int order;
	
	private ModuleLinkType type;
	
	private PageDto dto;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public ModuleLinkType getType() {
		return type;
	}

	public void setType(ModuleLinkType type) {
		this.type = type;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public PageDto getDto() {
		return dto;
	}

	public void setDto(PageDto dto) {
		this.dto = dto;
	}

}
